package com.deyuanyun.pic.ae.service;

import com.deyuanyun.pic.ae.controller.dto.AEPipeLineQuery;
import com.deyuanyun.pic.ae.domain.AEPipeline;
import com.deyuanyun.pic.ae.domain.EmergencyResource;
import com.github.pagehelper.Page;

import java.util.List;

/**
 * “第三方管道及设施” 服务接口
 *
 * @author huanglw
 * @date  2016-11-9
 *
 * History: [修改人][时间][修改描述]
 */
public interface AEPipeLineService {

    /**
     * 条件查询
     *
     * @param aePipeLineQuery
     * @return
     */
    Page<AEPipeline> query(AEPipeLineQuery aePipeLineQuery);

    /**
     * 根据id查询 第三方管道及设施 详情
     *
     * @param id
     * @return
     */
    AEPipeline find(String id);

    /**
     * 创建或者修改
     *
     * @param aePipeline
     * @param imgs
     */
    int edit(AEPipeline aePipeline, List<String> imgs);

    /**
     * 审核
     *
     * @param aePipeline
     * @return
     */
    int audit(AEPipeline aePipeline);

    /**
     * 根据id 删除
     *
     * @param id
     * @return
     */
    int delete(String id);
}
